//
// Created by hkkzzxz on 24-9-10.
//

#include "EmployeeInformation.h"

void EmployeeInformation::FillFromRow(sql::ResultSet *rs) {
    id = rs->getString("id");
    name = rs->getString("name");
    phoneNumber = rs->getString("phone_number");
}

const std::string &EmployeeInformation::getId() const {
    return id;
}

const std::string &EmployeeInformation::getName() const {
    return name;
}

const std::string &EmployeeInformation::getPhoneNumber() const {
    return phoneNumber;
}
